﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace HY.BLL.sys
{
    public  class sys_ot
    {

     public  DataTable getlist(string tab,string filed,string whe)
        {
            string strsql = "select "+filed+" from " + tab +" where 1=1";
             if (whe!="")        strsql=strsql+whe;
             return DAL.DbHelperSQL.SqlDataAdapter(strsql);
        }

    }
}
